<%@page import="com.wh.minihelp.user.util.UserUtil"%>
<%@page import="com.wh.minihelp.user.domain.FamilyAccount"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
<%@ include file="/WEB-INF/common/init.jsp"%>
<title>管理页面</title>
</head>
<body>
<a  style="align:right" href="<%=path%>/u?m=overview">返回总览页面</a>
<%/*通用对话框*/ %>
<div class="js_dialog" id="androidDialog1" style="display:none">
	<div class="weui-mask"></div>
	<div class="weui-dialog weui-skin_android">
		<div class="weui-dialog__hd" style='background-color: #33FF33;'><strong class="weui-dialog__title" id='js_dialog_title'></strong></div>
		<div class="weui-dialog__bd" id='js_dialog_content'></div>
		<div class="weui-dialog__ft">
			<a href="#" class="weui-dialog__btn weui-dialog__btn_default" onclick="cancelFunction()">取消</a>
			<a href="#" class="weui-dialog__btn weui-dialog__btn_primary" onclick="okFunction()">确定</a>
		</div>
	</div>
</div>
<%
FamilyAccount curFa=UserUtil.getUser(request);
int size=0;
boolean isManager=UserUtil.isFamilyManager(null, curFa, false);
if(isManager){
%>
	<%@ include file="/WEB-INF/user/mgrChild.jsp"%>
	<%@ include file="/WEB-INF/user/mgrFlower.jsp"%>	
	<%@ include file="/WEB-INF/user/mgrMember.jsp"%>
<%} %>
<%@ include file="/WEB-INF/user/mgrFamily.jsp"%>
<%@ include file="/WEB-INF/user/mgrPwd.jsp"%>
<script type="text/javascript">
var okFunction=null,cancelFunction=null;
$androidDialog1 = $('#androidDialog1');
function expand(){
	var divContent=$(event.srcElement).parent("div").parent("div").next("div");
	if(divContent.css('display')=='block'){
		divContent.css('display','none')
	}else{
		divContent.css('display','block')
	}
}
function resortCC(div){
	$("#"+div+" c").each(function(i){
 		this.innerText=(i+1);
 	});
}
</script>
</body>
</html>